Message: chromedriver executable needs to be in PATH. Please see https:--sites.google.com-a-chromium.org-chromedriver-home

53

mac os selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home -

#first with pip or pip3 do:
pip install webdriver-manager

#Then
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager

driver = webdriver.Chrome(ChromeDriverManager().install())

Message: 'chromedriver' executable needs to be in PATH. -

 driver = webdriver.Chrome('/path/to/chromedriver') 

Comments

Submit
0 Comments